package com.travel.pojo.user;


public class TouristUser {
    private int id;
    private String username;
    private String password;
    private String fullname;
    private String sex;
    private String tel;
    private String address;
    private int usertype;
    private int tid;
    private String imageurl;
    private String openid;
    private String unionid;
    private int singin; //签到状态
    private int bean_number;
    private String code;
    private String logintype;
    private String encryptedData;
    private String iv;
    private String session_key;
    private String clientid;
    private int signid;//签到表id


    public TouristUser() {

    }

    public TouristUser(int id, String username, String password, String fullname, String sex, String tel, String address, int usertype, int tid, String imageurl,String openid,int singin,int bean_number,String unionid,String code,String logintype,String encryptedData,String iv,String session_key,String clientid,int signid) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.fullname = fullname;
        this.sex = sex;
        this.tel = tel;
        this.address = address;
        this.usertype = usertype;
        this.tid = tid;
        this.imageurl = imageurl;
        this.openid = openid;
        this.singin = singin;
        this.bean_number = bean_number;
        this.unionid=unionid;
        this.code=code;
        this.logintype=logintype;
        this.encryptedData=encryptedData;
        this.iv=iv;
        this.session_key=session_key;
        this.clientid=clientid;
        this.signid=signid;
    }


    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getUsertype() {
        return usertype;
    }

    public void setUsertype(int usertype) {
        this.usertype = usertype;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public int getSingin() {
        return singin;
    }

    public void setSingin(int singin) {
        this.singin = singin;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public int getBean_number() {
        return bean_number;
    }

    public void setBean_number(int bean_number) {
        this.bean_number = bean_number;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getLogintype() {
        return logintype;
    }

    public void setLogintype(String logintype) {
        this.logintype = logintype;
    }

    public String getEncryptedData() {
        return encryptedData;
    }

    public void setEncryptedData(String encryptedData) {
        this.encryptedData = encryptedData;
    }

    public String getIv() {
        return iv;
    }

    public void setIv(String iv) {
        this.iv = iv;
    }

    public String getSession_key() {
        return session_key;
    }

    public void setSession_key(String session_key) {
        this.session_key = session_key;
    }

    public String getClientid() {
        return clientid;
    }

    public void setClientid(String clientid) {
        this.clientid = clientid;
    }


    public int getSignid() {
        return signid;
    }

    public void setSignid(int signid) {
        this.signid = signid;
    }



    @Override
    public String toString() {
        return "TouristUser{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", fullname='" + fullname + '\'' +
                ", sex='" + sex + '\'' +
                ", tel='" + tel + '\'' +
                ", address='" + address + '\'' +
                ", usertype=" + usertype +
                ", tid=" + tid +
                ", imageurl='" + imageurl + '\'' +
                ", openid='" + openid + '\'' +
                ", unionid='" + unionid + '\'' +
                ", singin=" + singin +
                ", bean_number=" + bean_number +
                ", code='" + code + '\'' +
                ", logintype='" + logintype + '\'' +
                ", encryptedData='" + encryptedData + '\'' +
                ", iv='" + iv + '\'' +
                ", session_key='" + session_key + '\'' +
                ", clientid='" + clientid + '\'' +
                ", signid=" + signid +
                '}';
    }
}
